package Assignment;

public class Test11 {
    public static void main(String[] args) {

        int dividend = 9;//被除数
        int divisor = 3;//除数

        int temp = dividend;

        int count = 0;
        while (temp >= divisor) {
            temp -= divisor;
            count++;
        }

        System.out.println(dividend + " / " + divisor + " = " + count + " ... " + temp);
    }
}
